import { createRouter, createWebHistory } from 'vue-router'
import ChatAi from "@/views/ChatAi.vue";
import Home from "@/views/Home.vue"

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {path:'/',redirect:'/Home'},
        {path:'/ChatAi',name:ChatAi,component:ChatAi},
        {path:'/Home',name:Home,component:Home}
    ],
})

export default router

